package IMIC.NGUYENVANDOAN.OOP.CONTENT04;

import java.util.List;

public class MODELS {
    public double TotalElement(List<List<Double>> lisDouble) {
        double total = 0;
        for (int i = 0; i < lisDouble.size(); i++)
            for (int j = 0; j < lisDouble.get(i).size(); j++) {
                total += lisDouble.get(i).get(j);
            }
        return total;
    }
}
